src=ysip.cc
length=$(shell awk -F, '{print length($2)}'  ../data/ids.txt |sort -u -n|tail -1)


debug = -DDEBUG #-DINCLUDE_CITY
obj = ysip

def = -DMMAP #-DGDBM #-DMDBM 
includes = -I/usr/local/include -I/usr/include  -I/home/y/include

libs = -L/usr/lib/ -L/usr/local/lib -L/home/y/lib  -L/home/y/lib #-lgdbm #-lmdbm
shared=#-shared

options = -g #-O2
$(obj) : 
	g++  -fno-default-inline -fPIC -o $(obj) $(shared) $(options) $(includes) $(libs) $(src) $(debug) $(def)
clean:
	rm -rf $(obj)

